package com.esms.esmsadmin.mapper;

import com.esms.esmsadmin.entity.StudentEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {

    List<StudentEntity> getStudentsByPage(@Param("page") Integer page, @Param("size") Integer size, @Param("keywords") String keywords);

    Long getTotal(String keywords);

    int insertSelective(StudentEntity record);

    int updateByPrimaryKeySelective(StudentEntity record);

    int deleteByPrimaryKey(Integer id);

}